#ifndef bottom_setting_H
#define bottom_setting_H

#include <QDialog>
#include <QButtonGroup>
#include "password_input.h"
#include "sterilization_config_data.h"

namespace Ui {
    class bottom_setting;
}

class bottom_setting : public QDialog
{
    Q_OBJECT

public:
    explicit bottom_setting(QWidget *parent = 0);
    ~bottom_setting();
    void entrance();
private slots:
    void on_buttonBox_accepted();
    void getvalue();

    void on_buttonBox_rejected();


private:
    Ui::bottom_setting *ui;
     sterilization_config_data* data;

    int temperaturer;
    int time;
    int cold_exhaust_times;
    int prebalance_time;

    bool verify(int value, int low, int high,  const char* tips);

};

#endif // bottom_setting_H
